/**
 * 自动生成！请勿修改！
 */
import { command } from '../core/command';

class SmartSpeaker {
    constructor(opt = {}) {
        const { device, to, ...opts } = opt;

        this.device = device || {};
        this.opts = opts || {};
        this._to = to;
    }

    get categoryCode() {
        return '010100002';
    }

    get categoryName() {
        return '\u667a\u80fd\u97f3\u7bb1';
    }

    getAudioSource(params) {
        return command({
            method: 'getAudioSource',
            methodId: 'U2eMJ23d',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getAutoTurning(params) {
        return command({
            method: 'getAutoTurning',
            methodId: 'UgC9Thbq',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getBacklightBrightness(params) {
        return command({
            method: 'getBacklightBrightness',
            methodId: 'UZ6IlEi3',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getBass(params) {
        return command({
            method: 'getBass',
            methodId: 'UUUlPI2V',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getBassVolume(params) {
        return command({
            method: 'getBassVolume',
            methodId: 'UJTjInBx',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getBluetooth(params) {
        return command({
            method: 'getBluetooth',
            methodId: 'UfjisTeA',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getClock(params) {
        return command({
            method: 'getClock',
            methodId: 'UkaWKtNW',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getLoop(params) {
        return command({
            method: 'getLoop',
            methodId: 'U3LBmXzR',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getManualTurning(params) {
        return command({
            method: 'getManualTurning',
            methodId: 'UDia8B4b',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getMicReverberation(params) {
        return command({
            method: 'getMicReverberation',
            methodId: 'UEqvdWmL',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getMicSwitch(params) {
        return command({
            method: 'getMicSwitch',
            methodId: 'UHwwcJ1r',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getMicVolume(params) {
        return command({
            method: 'getMicVolume',
            methodId: 'UsRWv8rZ',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getMute(params) {
        return command({
            method: 'getMute',
            methodId: 'UlyfCz9S',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getNotDisturb(params) {
        return command({
            method: 'getNotDisturb',
            methodId: 'UdJtFaKo',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getPlayControl(params) {
        return command({
            method: 'getPlayControl',
            methodId: 'U5s95vOU',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getPlayMode(params) {
        return command({
            method: 'getPlayMode',
            methodId: 'UCb20N7C',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getRandomBroadcast(params) {
        return command({
            method: 'getRandomBroadcast',
            methodId: 'Uwzij7U1',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getShuffle(params) {
        return command({
            method: 'getShuffle',
            methodId: 'UhQoHpLk',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSwitch(params) {
        return command({
            method: 'getSwitch',
            methodId: 'URPjAZYP',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getTrebleVolume(params) {
        return command({
            method: 'getTrebleVolume',
            methodId: 'UiWkn9tG',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getVolume(params) {
        return command({
            method: 'getVolume',
            methodId: 'U9KmwLNw',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAudioSource(params) {
        return command({
            method: 'setAudioSource',
            methodId: 'phEcSvYG',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAutoTurning(params) {
        return command({
            method: 'setAutoTurning',
            methodId: 'pqYwUQiE',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setBacklightBrightness(params) {
        return command({
            method: 'setBacklightBrightness',
            methodId: 'pBTmbzrR',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setBass(params) {
        return command({
            method: 'setBass',
            methodId: 'pkpDeoEk',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setBassVolume(params) {
        return command({
            method: 'setBassVolume',
            methodId: 'pj72Leuz',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setBluetooth(params) {
        return command({
            method: 'setBluetooth',
            methodId: 'pDrhqipV',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setCancelClock(params) {
        return command({
            method: 'setCancelClock',
            methodId: 'UvxDVrU5',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setClock(params) {
        return command({
            method: 'setClock',
            methodId: 'UODl2ALl',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setControlCommand(params) {
        return command({
            method: 'setControlCommand',
            methodId: 'FQtGEYGm',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setFastForward(params) {
        return command({
            method: 'setFastForward',
            methodId: 'pz9T4R11',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setFastReverse(params) {
        return command({
            method: 'setFastReverse',
            methodId: 'p0cr1W3o',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setLoop(params) {
        return command({
            method: 'setLoop',
            methodId: 'UaMCYCbK',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setManualTurning(params) {
        return command({
            method: 'setManualTurning',
            methodId: 'pNnZr62I',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setMicReverberation(params) {
        return command({
            method: 'setMicReverberation',
            methodId: 'pdNC7kOb',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setMicSwitch(params) {
        return command({
            method: 'setMicSwitch',
            methodId: 'pgh0GHg3',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setMicVolume(params) {
        return command({
            method: 'setMicVolume',
            methodId: 'ptRStNNx',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setMute(params) {
        return command({
            method: 'setMute',
            methodId: 'p3deB15q',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setNext(params) {
        return command({
            method: 'setNext',
            methodId: 'pGoxzjbL',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setNotDisturb(params) {
        return command({
            method: 'setNotDisturb',
            methodId: 'U8OTZdKm',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setPlayControl(params) {
        return command({
            method: 'setPlayControl',
            methodId: 'pUPQhCMd',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setPlayMode(params) {
        return command({
            method: 'setPlayMode',
            methodId: 'p1vZoyLS',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setPlaySong(params) {
        return command({
            method: 'setPlaySong',
            methodId: 'F4VoMco5',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setPrev(params) {
        return command({
            method: 'setPrev',
            methodId: 'pZgu6AWZ',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setRandomBroadcast(params) {
        return command({
            method: 'setRandomBroadcast',
            methodId: 'UnfcghBn',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setShuffle(params) {
        return command({
            method: 'setShuffle',
            methodId: 'pWGMQBt9',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setSwitch(params) {
        return command({
            method: 'setSwitch',
            methodId: 'peH3FwiA',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setText(params) {
        return command({
            method: 'setText',
            methodId: 'UmavupWM',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setTrebleVolume(params) {
        return command({
            method: 'setTrebleVolume',
            methodId: 'pXZu3gQW',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setVolume(params) {
        return command({
            method: 'setVolume',
            methodId: 'ppAraUwr',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }
}

export default SmartSpeaker;
